package com.ihr360.payroll.model.dto.attendance.type;

/** 工时单位 */
public enum WorkHourUnit {

    MONTH("天/月", false), WEEK("天/周", false), DOUBLE_WEEK("天/双周", false), DAY("小时/天", true);

    private String title;

    private boolean daily;

    WorkHourUnit(String title, boolean daily) {
        this.title = title;
        this.daily = daily;
    }

    public String getTitle() {
        return title;
    }

    public boolean isDaily() {
        return daily;
    }
}
